/**
 *删除项目档案
 */
'use strict';

const conn = require('../../libs/DB/Conn');
const operationRecord = require("../sys/operationRecordAction");

module.exports = async function (params) {
    await conn(`UPDATE project_file SET delete_sign = 2 WHERE project_id = ${params.projectId};` )
    await operationRecord(params);
    return { success: true };
};
